package com.igoal.dao;

import java.util.Date;
import java.util.List;

import com.igoal.entity.ActionTypeEnum;
import com.igoal.entity.ComponentEnum;
import com.igoal.entity.PrivacySetting;
import com.igoal.entity.User;
import com.igoal.entity.WallUpdate;

public interface WallUpdateDAO extends GenericDao<WallUpdate, Long> {

	void updateToWall(User componentOwner, ComponentEnum component, Long componentId, ActionTypeEnum action, PrivacySetting privacy);

	List<WallUpdate> getWallActivities(User viewerUser, User wallOwner, Date createBefore);
	
	void removeFromWall(ComponentEnum component, Long componentId);
	
}
